home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
005
/
product.arc
/
MACRO55.MNU
< prev
next >
Wrap
Text File
|
1986-09-22
|
517b
|
16 lines
[ FLANGE ]^C^C(Setq P1 (Getpoint+
"Enter center of flange: "));\+
(Setq OR (Getdist P1 "Outside radius: "));\+
Circle;!P1;!OR;+
(Setq IR (Getdist P1 "Inside radius: "));\+
Circle;!P1;!IR;+
(Setq BC (Getdist P1 "Bolt circle radius: "));\+
Circle;!P1;!BC;+
(Setq SH (Getreal "Bolt hole diameter: "));\+
(Setq NHI (Getint "Number of bolt holes: "));\+
(Setq NH (Float NHI));+
(Setq SA (Getangle P1+
"Starting angle of first hole: "));\+
Circle;(Polar P1 SA BC);D;!SH;+
Array;L;;C;!P1;(/ 360.0 NH);!NHI;;